while true; do
    { echo -ne "HTTP/1.0 200 OK\r\n";
      echo -ne "Content-Length: 13\r\n";
      echo -ne "\r\n";
      echo "Hello, Bash!"; } | nc -l -p 8080
done